cmake_minimum_required(VERSION 3.22.1)
project(instrument_project)

include_directories(.)
include_directories(./lvgl) 
include_directories(./lv_drivers)
include_directories(./ui)

add_subdirectory(lvgl)
add_subdirectory(lv_drivers)
add_subdirectory(ui)

add_executable(${PROJECT_NAME} main.c)
target_link_libraries(${PROJECT_NAME} PRIVATE lvgl  lvgl_drivers  lvgl::demos  lvgl::examples SDL2 ui)
